ViewCollection

@Serializable
open class ViewCollection(val viewQuery: String? = null, _name: String? = null, _system: Boolean? = null, _fields: List<SchemaField>? = null, _listRule: String? = null, _viewRule: String? = null, _createRule: String? = null, _updateRule: String? = null, _deleteRule: String? = null, _indexes: List<String>? = null, collectionId: String? = null) : Collection

Used to represent a Collection with the type of view. If you would like access to view collection fields extend this class.

Parameters

viewQuery

The SQL query used to determine what is shown in the view collection.

Constructors

Link copied to clipboard
constructor(viewQuery: String? = null, _name: String? = null, _system: Boolean? = null, _fields: List<SchemaField>? = null, _listRule: String? = null, _viewRule: String? = null, _createRule: String? = null, _updateRule: String? = null, _deleteRule: String? = null, _indexes: List<String>? = null, collectionId: String? = null)

Properties

Link copied to clipboard
val created: <Error class: unknown class>? = null
Link copied to clipboard
val createRule: String? = null
Link copied to clipboard
val deleteRule: String? = null
Link copied to clipboard
val fields: List<SchemaField>? = null
Link copied to clipboard
open val id: String? = null
Link copied to clipboard
val indexes: List<String>? = null
Link copied to clipboard
val listRule: String? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val system: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val updated: <Error class: unknown class>? = null
Link copied to clipboard
val updateRule: String? = null
Link copied to clipboard
val viewQuery: String? = null
Link copied to clipboard
val viewRule: String? = null

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String